package com.seocoo.worker.user;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.seocoo.worker.R;
import com.seocoo.worker.user.entity.EIntgral;

public class IntgralAdapter extends BaseQuickAdapter<EIntgral, BaseViewHolder> {
    public IntgralAdapter() {
        super(R.layout.user_integral_adapter);
    }

    @Override
    protected void convert(BaseViewHolder helper, EIntgral item) {
        helper.setText(R.id.tv_name,item.getAbstractDesc());
        helper.setText(R.id.tv_size,"+"+item.getIntegral());
        helper.setText(R.id.tv_date,item.getAddTime());
    }
}
